package edu.tgc.web.form.file;

import java.util.Date;
import java.util.UUID;

import org.springframework.format.annotation.DateTimeFormat;

import edu.tgc.entity.file.dictionary.FileContractType;
import edu.tgc.entity.system.SysDept;

public class FileContractForm extends FileResourceForm<UUID> {

    protected Double cost;
    protected SysDept dept;
    protected Date signedDate;
    protected String sn;
    protected FileContractType type;

    public Double getCost() {
        return this.cost;
    }

    public SysDept getDept() {
        return this.dept;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getSignedDate() {
        return this.signedDate;
    }

    public String getSn() {
        return this.sn;
    }

    public FileContractType getType() {
        return this.type;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    public void setSignedDate(Date signedDate) {
        this.signedDate = signedDate;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public void setType(FileContractType type) {
        this.type = type;
    }

}
